<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title><?=$title?></title>
<style type="text/css">
<!--
body {
	margin:0;
	padding:10px 0;
	font-size:12px;
}
a{
    color:#000000;
    text-decoration:none;
}
a:hover{
    color:#ff0000;
    text-decoration:underline;
}
.btn{border:#002d96 1px solid; padding:4px 4px 2px; font-size:12px; filter:progid:DXImageTransform.Microsoft.Gradient(GradientType=0, StartColorStr=#FFFFFF, EndColorStr=#9DBCEA); cursor:hand; color:black;}
#wrapper{
	width:350px;
	height:250px;
	margin:0 auto;
}
#content{
    float:left;
	width:350px;
	height:auto;
	padding:10px 0;
}
-->
</style>
<script type="text/javascript">
</script>
</head>
<body>
<div id="wrapper">
    <div id="content"><h3>Operation Result</h3>
    <br />
    <?php if ($success): ?>
       <img src="<?=base_url();?>resources/images/oper_suc.gif" alt="operate success" />
    <?php else: ?>
       <img src="<?=base_url();?>resources/images/oper_fail.gif" alt="operate fail" />
     <?php endif; ?>
     &nbsp;&nbsp;&nbsp;<?=$result?>
     <br />
     <br/><input type='button' value='back' onclick='closeWin();' />
    </div>
</div>
</body>
<script type='text/javascript'>
function closeWin(){
	window.close();
	window.parent.location.reload();
}
</script>
</html>